/**
 * Created by gavin on 19/1/16.
 */
import axios from "../../utils/axios";

// 常见问题列表
export function getList(query) {
    return axios({
        url: "systemSetup/otherWords/getList",
        method: "get",
        params: query
    });
}

// 删除
export function delProblem(data) {
    return axios({
        url: "systemSetup/otherWords/delete",
        method: "post",
        data: data
    });
}

// 添加&编辑
export function saveProblem(data) {
    return axios({
        url:"systemSetup/otherWords/save" ,
        method: "post",
        data: data
    });
}
